Skip to content

Replace SimplifiedJSON format with new JSON format#2

Draft
artwyman wants to merge 4 commits into
proofcarryingdata:masterfrom
artwyman:artwyman/pod-json
Draft

Replace SimplifiedJSON format with new JSON format#2
artwyman wants to merge 4 commits into
proofcarryingdata:masterfrom
artwyman:artwyman/pod-json

Conversation

@artwyman
Copy link
Copy Markdown
Member

This is a placeholder WIP PR and won't build until a new @pcd/pod package is available.
This just changes the existing functionality to work as it is, but use the new rather than old JSON format, which affects the /api/mintPOD endpoint as well as the input of new template PODs.

This won't build until a new @pcd/pod package is available.
Fix errors from `deno check src/index.ts`
@artwyman
Copy link
Copy Markdown
Member Author

I tried updating the dependencies and testing this, to see if it can run with the latest POD/GPC packages.

I was able to resolve all the compile errors flagged by deno check src/index.ts
However when I try to deno task dev there's still an import issue:

error: [ERR_MODULE_NOT_FOUND] Cannot find module 'file:///Users/artwyman/dev/pod-issuer/node_modules/.deno/lodash@4.17.21/node_modules/lodash/isEqual' imported from 'file:///Users/artwyman/dev/pod-issuer/node_modules/.deno/@pcd+gpc@0.2.0/node_modules/@pcd/gpc/dist/esm/src/gpcChecks.js'

Seems like something in deno isn't happy with the individual submodule imports for lodash? @ax0 any idea what's going on here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant